from django.contrib import admin
from ServerMgr.models import * 

# Register your models here.

class ServerInfoModelAdmin(admin.ModelAdmin):
    list_display = ('id', 'hostname', 'os', 'cpu','memory','ip')
    search_fields = ('hostname', )
    ordering = ('id', )

admin.site.register(ServerInfo,ServerInfoModelAdmin)